<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/common/pages/taglibs.jsp"%>
<%@include file="/common/pages/common.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/css/zTreeStyle/zTreeStyle.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/common/js/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/ac/js/user_add.js"></script>
<title>user list</title>
</head>
<body>
	<input value="<%=basePath%>" id="contextPath" type="hidden"/>
	<div class="easyui-panel" style="padding: 2px;border:1px solid #ddd;" title="新增用户" data-options="">
       	<div id="create_First">
        	<table>
	        	<tr><td><font color="#ff0000">*</font></td><td>用户名：</td><td><input class="easyui-validatebox" data-options="required:true" maxlength="10" id="userName" name="userName"></td></tr>
	        	<tr><td><font color="#ff0000">*</font></td><td>登录名：</td><td><input class="easyui-validatebox" data-options="required:true" maxlength="12" id="loginName" name="loginName"></td></tr>
	        	<tr><td><font color="#ff0000">*</font></td><td>手机：</td><td><input class="easyui-numberbox" data-options="required:true" maxlength="11" id="phone" name="phone"></td></tr>
	        	<tr><td></td><td>邮箱：</td><td><input name="_email" id="email"></td></tr>
	        	<tr><td></td><td>备注：</td><td><textarea name="message" style="height:60px;" name="_remark" id="remark"></textarea></td></tr>
	        	<tr><td></td><td></td><td></td></tr>
	        	
	        	<tr><td></td><td></td>
	        		<td>
	        			<a href="#" class="easyui-linkbutton" onclick="javascript:goNext();return false;">下一步</a>
	        			<!-- <a href="#" class="easyui-linkbutton" onclick="javascript:gotoBack();return false;">取消</a> -->
	            	</td>
	            </tr>
        	</table>
       	</div>
       	<div id="create_seconde" style="display:none">
       		<table>
	        	
	        	<tr>
	        		<td>操作员具有功能分组: </td>
	        		<td>
	        			<input type="hidden" id="selectedRoleIds"/>
	        			<c:if test="${not empty listRoles}">
		        			<c:forEach var="role" items="${listRoles}">
		        				<input id="operatorRoles" name="operatorRoles" type="checkbox"  value="${role.roleId}" />
		        				<c:out value="${role.roleName }" />
		        			</c:forEach>
	        			</c:if>
	        			
	        		</td>
	        	</tr>
	        	
	            <tr>
	            	<td>分配组织: </td>
	            	<td>
	            		<input type="hidden" id="checkedOrgIds"/>
	            		<ul id="treeList" class="ztree"></ul>
	            	</td>
	            </tr>
	        	
	            <tr><td></td>
	        		<td>
	        			<a href="#" class="easyui-linkbutton" onclick="javascript:goPreview();return false;">上一步</a>
	        			<a href="#" class="easyui-linkbutton" onclick="submit();">保存</a>
	        			<!--<a href="#" class="easyui-linkbutton" onclick="javascript:gotoBack();return false;">取消</a>-->
	        		</td>
	            </tr>
        	</table>
        	
       	</div>
        	
	</div>
	
</body>
</html>